package com.itmuch.contentcenter;

import com.alibaba.csp.sentinel.annotation.SentinelResource;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * @author caiqian
 * @date 2021/5/8 11:35
 */
@Service
@Slf4j
public class TestService {

  @SentinelResource("Common")
  public String common(){
    log.info("common来了!");
    return "Common!";
  }

}
